<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<title>首页</title>
		<meta charset="utf-8" />
		<meta name="keywords" content="" />
	    <meta name="description" content="" />
		<link rel="stylesheet" href="CSS/style.css" />
		<script type="text/javascript" src="JS/jquery-1.7.2.min.js" ></script>
		<script type="text/javascript" src="JS/index.js" ></script>
	</head>
	<body>
	<!-- header -->
<header>
			<div class="headcon">
				<div class="logo"><a href=""><img src="IMG/logo.png" /></a></div>
				<div class="lang">
				
				<!-- 中文 -->
					<div class="ch">
						<a href="../"><p><img src="IMG/CH.jpg"/></p>
						<p>中文版</p></a>
					</div>
				<!-- 中文 END-->
					
					<!-- 英文 -->
					<div class="en">
						<a href="URL"><p><img src="IMG/EN.jpg"/></p>
						<p>ENGLISHI</p></a>
					</div>
				<!-- 英文 END-->
					
				</div>
			</div>
			
		</header>
		

		<nav>
			<div class="navcon">
				<ul>
					<li><a href="<?php echo U('/'); ?>">HOME</a></li>
					
					<!-- 循环nav -->

					 <?php foreach (term('2')['child']['nav'] as $key => $termVo) {?>
				 

				 <!-- 循环一级导航 -->
				<?php if($termVo['flag'] == 'job'): ?>
			    <li><a href="<?php echo term(13)['url']; ?>"><?php echo $termVo['name']; ?></a>
				<?php else: ?>
				<li><a href="<?php echo $termVo['url']; ?>"><?php echo $termVo['name']; ?></a>
				<?php endif; ?>
					
					
					<!-- 判断是否有子栏目 -->
				<?php if(!empty($termVo['child']['list'])){ ?>
						<div class="subnav">
							<div class="subleft">
								<ul>
								<!-- 循环二级导航 -->
								<?php foreach (term($termVo['id'])['child']['nav'] as $termVochild) {?>
								    
							
									
									<li><a href="<?php echo $termVochild['url']; ?>"><?php echo $termVochild['name']; ?></a></li>
									
									
									<?php  } ?>
                                <!-- 循环二级导航 -->
								</ul>
							</div>
							<div class="subright">
							
							 <?php foreach (term(26)['content'] as $key => $value) {?>
								<p class="im"><img src="IMG/about.jpg" /></p>
								<p><span style="color: #0064b2;"></span><?php echo msubstr($value['description'],0,10,'utf-8',true); ?></p>

                               <?php } ?>
							</div>
						</div>
				<?php } ?> 	
					</li>
					 <!-- 循环一级导航 END-->
					 <?php  } ?>
					 
					 
					<!-- 循环nav END-->

				</ul>
			</div>
		</nav>
		
		
		<!-- 轮播图片 -->
		<div class="m_banner">
		     <?php foreach ($links['1'] as $key => $value) {?>
			<div class="banner b1" style=" background-image:url(UPLOADS/<?php echo $value['logo']; ?>);" id="banner1"></div>
			 <?php } ?>
			 
	        <!-- <div class="banner b2" style=" background-image:url(IMG/ban1.jpg);display:none;" id="banner2"></div> -->
	        
	        <div class="banner_ctrl"> <a href="#" class="prev" title=""></a> <a href="javascript:;" class="next" title=""></a> </div>
		</div>
		<!-- 轮播图片 END-->
		
	
	
		<div class="sycon">
		
		
		
		<div class="goodscon">
			<div class="goods_le">
<!-- 引入product_slider -->
			
               <div class="goodbtit">产品中心  <span style="font-size: 14px;">PRODUCT</span></div>
				<div class="goodsnav">
				
                 <!-- 产品侧边栏导航 -->
				 <?php foreach (term('32')['child']['nav'] as $key => $termVo) {?>

				    <h3 onMousedown="flipMenu(document.all.Mnu<?php echo $key+1; ?>)"><img src="IMG/goodico.png" /><span><?php echo $termVo['name']; ?></span></h3>
				    <div id="Mnu<?php echo $key+1; ?>" style=" display:block;">
				    <ul>
					<?php foreach (term($termVo['id'])['child']['nav'] as $termVochild) {?>
				        <a href="<?php echo $termVochild['url']; ?>"><li if(isset($term) && $term['address'][$value['id']]){echo 'class="on"';} else{echo '';}><?php echo $termVochild['name']; ?></li></a>
				    <?php  } ?>
				    </ul>				
				    </div>
					<?php  } ?>
				 <!-- 产品侧边栏导航 END-->
					
					
					
						
					
				</div>
			</div>
			
			
			
			<div class="goods_rg">
							<!-- 当前位置 -->
               <div class="position">
您当前的位置:
<a href="<?php echo U('Index/index'); ?>" >
Home
</a>
<?php foreach($term['address'] as $termVo): ?>

 <a href="<?php echo $termVo['url']; ?>" >
 <?php if($termVo['id'] != 2): echo $termVo['name']; endif; ?>
</a> > 
<?php endforeach; if((isset($content))): ?>
<span><?php echo $content['name']; ?></span>
<?php endif; ?>

</div>
				<!-- 当前位置 END -->
				
				<div class="goodartical">
					 <div class="gart1">
					 <p class="gtit1"><b><?php echo $content['name']; ?></b></p>
					 <p class="gtit2">0.3% matrine agent</p>
					 </div>
					 <div class="gart2">
					 	<div style="width: 100%; height: auto;overflow: hidden;">
					 		<div class="gimg"><img src="IMG/goodart.jpg" /></div>
					 		<div class="gspan">
					 			<p>总有效成分：0.6%</p>
					 			<p>补骨内酯含量：0.4%</p>
					 			<p>生产资氧化苦参碱：0.2%</p>
					 			<p>总有效成分：0.6%</p>
					 			<p></p>
					 			<p>专利号： ZL 95 1 18353.2</p>
					 			<p>国际专利主分类号：A01N 65/00</p>
					 			<p>国家绿色食品中心：</p>
					 			<p>AA级料认证（LSSZ0199010501AA国内首家）</p>
					 			<p>国家环保总局有机食品认证中心：</p>
					 			<p>有机生产者认证(P3103-915-177-2002)</p>
					 		</div>
					 	</div>
					 	<p style="font-size:16px;color: #0a8034;">产品性能：</p>
					 	<p style="font-size:14px;color: #4b4b4b;">
                        <?php echo $content['content']; ?>
                         </p>
					 </div>
					 <div class="gart3"></div>
				</div>
			</div>
		</div>
						
<script type="text/javascript">
var visMnu = "";

function flipMenu(actMnu)
{
   if (visMnu == "")
      showMenu(actMnu);
   else
   {
      if (visMnu == actMnu)
         hideMenu(actMnu);
      else
      {
         hideMenu(visMnu);
         showMenu(actMnu);
      }
   }
}
function showMenu(actMnu)
{
  
   actMnu.style.display = "block";
   visMnu = actMnu;
}
function hideMenu(actMnu)
{
   
   actMnu.style.display = "none";
   visMnu = "";
}
//  End -->

</script>
  	
			
		</div>
		
		
		
		
		<script type="text/javascript">

var Speed_1 = 30; //速度(毫秒)
var Space_1 = 20; //每次移动(px)
var PageWidth_1 = 305 * 4; //翻页宽度
var interval_1 = 6000; //翻页间隔时间
var fill_1 = 0; //整体移位
var MoveLock_1 = false;
var MoveTimeObj_1;
var MoveWay_1="right";
var Comp_1 = 0;
var AutoPlayObj_1=null;
function GetObj(objName){if(document.getElementById){return eval('document.getElementById("'+objName+'")')}else{return eval('document.all.'+objName)}}
function AutoPlay_1(){clearInterval(AutoPlayObj_1);AutoPlayObj_1=setInterval('SL_GoDown_1();SL_StopDown_1();',interval_1)}
function SL_GoUp_1(){if(MoveLock_1)return;clearInterval(AutoPlayObj_1);MoveLock_1=true;MoveWay_1="left";MoveTimeObj_1=setInterval('ISL_ScrUp_1();',Speed_1);}
function SL_StopUp_1(){if(MoveWay_1 == "right"){return};clearInterval(MoveTimeObj_1);if((GetObj('SISL_Cont_1').scrollLeft-fill_1)%PageWidth_1!=0){Comp_1=fill_1-(GetObj('SISL_Cont_1').scrollLeft%PageWidth_1);CompScr_1()}else{MoveLock_1=false}
AutoPlay_1()}
function ISL_ScrUp_1(){if(GetObj('SISL_Cont_1').scrollLeft<=0){GetObj('SISL_Cont_1').scrollLeft=GetObj('SISL_Cont_1').scrollLeft+GetObj('SList1_1').offsetWidth}
GetObj('SISL_Cont_1').scrollLeft-=Space_1}
function SL_GoDown_1(){clearInterval(MoveTimeObj_1);if(MoveLock_1)return;clearInterval(AutoPlayObj_1);MoveLock_1=true;MoveWay_1="right";ISL_ScrDown_1();MoveTimeObj_1=setInterval('ISL_ScrDown_1()',Speed_1)}
function SL_StopDown_1(){if(MoveWay_1 == "left"){return};clearInterval(MoveTimeObj_1);if(GetObj('SISL_Cont_1').scrollLeft%PageWidth_1-(fill_1>=0?fill_1:fill_1+1)!=0){Comp_1=PageWidth_1-GetObj('SISL_Cont_1').scrollLeft%PageWidth_1+fill_1;CompScr_1()}else{MoveLock_1=false}
AutoPlay_1()}
function ISL_ScrDown_1(){if(GetObj('SISL_Cont_1').scrollLeft>=GetObj('SList1_1').scrollWidth){GetObj('SISL_Cont_1').scrollLeft=GetObj('SISL_Cont_1').scrollLeft-GetObj('SList1_1').scrollWidth}
GetObj('SISL_Cont_1').scrollLeft+=Space_1}
function CompScr_1(){if(Comp_1==0){MoveLock_1=false;return}
var num,TempSpeed=Speed_1,TempSpace=Space_1;if(Math.abs(Comp_1)<PageWidth_1/2){TempSpace=Math.round(Math.abs(Comp_1/Space_1));if(TempSpace<1){TempSpace=1}}
if(Comp_1<0){if(Comp_1<-TempSpace){Comp_1+=TempSpace;num=TempSpace}else{num=-Comp_1;Comp_1=0}
GetObj('SISL_Cont_1').scrollLeft-=num;setTimeout('CompScr_1()',TempSpeed)}else{if(Comp_1>TempSpace){Comp_1-=TempSpace;num=TempSpace}else{num=Comp_1;Comp_1=0}
GetObj('SISL_Cont_1').scrollLeft+=num;setTimeout('CompScr_1()',TempSpeed)}}
function picrun_ini(){
GetObj("SList2_1").innerHTML=GetObj("SList1_1").innerHTML;
GetObj('SISL_Cont_1').scrollLeft=fill_1>=0?fill_1:GetObj('SList1_1').scrollWidth-Math.abs(fill_1);
GetObj("SISL_Cont_1").onmouseover=function(){clearInterval(AutoPlayObj_1)}
GetObj("SISL_Cont_1").onmouseout=function(){AutoPlay_1()}
AutoPlay_1();
}
</script>
		
		
        <!-- footer -->
				<footer>
			<div class="foot1">
				<p>联系方式：010-65076059  联系地址：北京市朝阳区北苑路北卫家园硕泽大厦4层    4/F，</p>
				<p>Shuoze mansion，beiweijiayuan，Beiyuan Street, Chaoyang District, Beijing, China</p>
				<p>E-mail: kingbo@kingbo.com.cn</p>
			</div>
			<div class="foot2">
				<div class="foot2con">
					<div class="fba">ICP备案编号：京ICP备05056671</div>
					<div class="fbq">版权所有 北京清源保生物科技有限公司    技术支持：<a href="">万虎网络</a></div>
				</div>
			</div>
		</footer>
        <!-- footer end -->
		
		
		<div class="flot"><img src="IMG/ewm.png"></div>
		
		
	</body>
</html>

